ASensorEventQueue_enableSensor

Enable the selected sensor at default sampling rate.

Start event reports of a sensor to specified sensor event queue at a default rate.

\param queue {@link ASensorEventQueue} for sensor event to be report to. \param sensor {@link ASensor} to be enabled.

\return 0 on success or a negative error code on failure.

extern (C) nothrow @nogc
int
ASensorEventQueue_enableSensor

Meta